<%@ page language="java" import="java.util.*, front.net.entity.cookie.*"
	pageEncoding="UTF-8"%>
<%@ page
	import="ra.db.connections.CTIDInf,java.sql.ResultSet,java.sql.SQLException"
	import="front.net.entity.cookie.ICookieConstant"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/CTOperate.css" />
</head>
<div>
	<table cellpadding="0" cellspacing="0" border="0">
		<tbody>
			<tr>
				<td>
					<div class="banner-box" style="height:40px;">
						<table border="0" cellpadding="0" cellspacing="0">
							<tbody>
								<tr>
									<td>
										<div class="banner-logo"></div></td>
									<td>
										<div>证书操作</div></td>
								</tr>
							</tbody>
						</table>
						<div class="close-button"></div>
					</div>
					<div>
						<table cellpadding="0" cellspacing="0" border="0">
							<thead>
								<tr>
									<td>
										<div>
											<div id="operate-form-title">证书操作</div>
											<div id="operate-form-describe">
												<div id="operate-form-title-name">证书操作</div>
												<div>请填写密码后对证书进行操作</div>
											</div>
										</div>
									</td>
								</tr>
							</thead>
							<tbody>
								<s:form namespace="/ra" action="terminate">
									<tr>
										<td>
											<div class="operate-name">
												<div class="operate-form-item-name">废除证书：</div>
											</div>
										</td>
										<td>
											<div class="password">
												<div class="password-input">
													<input required type="password" name="password"
														id="password" />
												</div>
											</div>
										</td>
										<td><div class="operate">
												<div class="operate-button-div">
													<input type="submit" value="确认废除" class="operate-button" />
												</div>
											</div></td>
									</tr>
									<tr>
										<td>
											<div class="operate-name">
												<div class="operate-form-item-name">下载别人的证书：</div>
											</div>
										</td>
										<td>
											<div class="password">
												<div class="password-input">
													<input required type="text" name="password"
														id="name2download" />
												</div>
											</div>
										</td>
										<td>
											<div class="operate">
												<div class="operate-button-div">
													<input type="button" onclick="downloadCT()" value="下载证书" 
														class="operate-button" />
												</div>
											</div></td>
									</tr>
									<tr>
										<td>
											<div class="operate-name">
												<div class="operate-form-item-name">下载自己的证书：</div>
											</div>
										</td>
										<td>
											<div class="password">
												<div class="password-input">
													<input required type="password" name="password"
														id="password" />
												</div>
											</div>
										</td>
										<td>
											<div class="operate">
												<div class="operate-button-div">
													<input type="button" onclick="downloadMyCT()" value="下载证书"
														class="operate-button" />
												</div>
											</div></td>
									</tr>
								</s:form>
							</tbody>
						</table>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
</div>
</html>
